/* eslint-disable prettier/prettier */
/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import { ReactVideoSource } from 'react-native-video';

export interface VideoItem {
  id: number;
  source: ReactVideoSource;
  width: number;
  height: number;
  text?: string;
}

const videoRotationList: VideoItem[] = [
  {
    id: 0,
    source: require(`../../../assets/video/16_9.mp4`),
    width: 16,
    height: 9,
  },
  {
    id: 1,
    source: require(`../../../assets/video/9_16_2.mp4`),
    width: 9,
    height: 16,
  },
];

const videoImmersionList: VideoItem[] = [
  {
    id: 0,
    source: require(`../../../assets/video/1_1.mp4`),
    width: 1080,
    height: 1080,
    text: '1/1',
  },
  {
    id: 1,
    source: require(`../../../assets/video/4_3.mp4`),
    width: 960,
    height: 720,
    text: '4/3',
  },
  {
    id: 2,
    source: require(`../../../assets/video/9_16_1.mp4`),
    width: 2160,
    height: 3840,
    text: '9/16',
  },
  {
    id: 3,
    source: require(`../../../assets/video/9_16_2.mp4`),
    width: 2160,
    height: 3840,
    text: '9/16',
  },
  {
    id: 4,
    source: require(`../../../assets/video/16_9.mp4`),
    width: 1280,
    height: 720,
    text: '16/9',
  },
  {
    id: 5,
    source: require(`../../../assets/video/21_9.mp4`),
    width: 1680,
    height: 720,
    text: '21/9',
  },
];

export { videoRotationList, videoImmersionList };
